]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Hide item labels
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Jan 2011 14:27:13 +0000 (15:27 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 9 Feb 2011 20:36:55 +0000 (21:36 +0100)
With the current dash layout of a single column, nearly every icon
label ends up ellipsized, even at the largest allowed icon size.
Not showing any labels appears to be the cleanest approach in this
case, so disable them in the dash.

https://bugzilla.gnome.org/show_bug.cgi?id=636156

js/ui/dash.js

index 0ddae0b2c25e0a4a3985b498f7fa13c7603b4546..86dfacdda7f689910fac1fde11976d7c2306a03c 100644 (file)
@@ -26,6 +26,7 @@ RemoveFavoriteIcon.prototype = {
         this._iconActor = null;
         this.icon = new IconGrid.BaseIcon(_("Remove"),
                                            { setSizeManually: true,
+                                             showLabel: false,
                                              createIcon: Lang.bind(this, this._createIcon) });
         this.actor.set_child(this.icon.actor);
         this.actor._delegate = this;
@@ -192,7 +193,8 @@ Dash.prototype = {
 
     _addApp: function(app) {
         let display = new AppDisplay.AppWellIcon(app,
-                                                 { setSizeManually: true });
+                                                 { setSizeManually: true,
+                                                   showLabel: false });
         display._draggable.connect('drag-begin',
                                    Lang.bind(this, function() {
                                        display.actor.opacity = 50;